package server

import (
	pb "gogrpc/proto"
	"golang.org/x/net/context"
)

type helloService struct{}

func NewHelloService() *helloService {
	return &helloService{}
}

func (h helloService) SayHelloWorld(ctx context.Context, r *pb.HelloWorldRequest)(*pb.HelloWorldResponse, error){
  return &pb.HelloWorldResponse{
  	Message:"test",
  },nil
}
